package com.dubbo.common.security.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 用户实体类
 * @author chenwei
 * @date 2018年12月5日 下午2:31:21
 */
public class UserBean implements Serializable{
	/**
	 * @author chenluqiang
	 * @date 2018年12月14日 下午6:01:04 
	 *
	 */
	private static final long serialVersionUID = -7485153156630585797L;
	/**用户数据*/
	private Object userObj;
	/**用户角色*/
	private List<String> roles;
	/**用户权限*/
	private List<String> permissions;
	/**设备id**/
	private String registrationId;


	public Object getUserObj() {
		return userObj;
	}

	public void setUserObj(Object userObj) {
		this.userObj = userObj;
	}

	public List<String> getRoles() {
		return roles;
	}

	public void setRoles(List<String> roles) {
		this.roles = roles;
	}

	public List<String> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<String> permissions) {
		this.permissions = permissions;
	}

	public String getRegistrationId() {
		return registrationId;
	}

	public void setRegistrationId(String registrationId) {
		this.registrationId = registrationId;
	}
	
}
